export interface IDepartment {
  id: number;
  name: string;
  status: boolean;
  remark?: string;
  parentDeptId?: number | null;
  createdAt: Date;
  updatedAt: Date;
}

export interface IDepartmentWithParentName extends IDepartment {
  parentDeptName?: string | null;
}

export interface IDepartmentWithChildren extends IDepartment {
  children?: IDepartmentWithChildren[];
}

export interface IDepartmentPageResult {
  list: IDepartment[];
  total: number;
}
